import request from '@/utils/request';

export async function studentTagList(params?: any) {
  return request('/app-admin/teacher-admin/admin/v1/calculate/paper/studentTag/list', {
    params,
  });
}

export async function exportList(params?: any) {
  return request('/app-admin/teacher-admin/admin/v1/calculate/paper/studentTag/exportList', {
    params,
  });
}

export async function updateTag(data?: any) {
  return request('/app-admin/teacher-admin/admin/v1/calculate/paper/studentTag/updateTag', {
    method: 'POST',
    data,
  });
}

export async function getValueAndTextList(params?: any) {
  return request('/app-admin/teacher-admin/admin/v1/sys/getValueAndTextList', {
    params,
  });
}

export async function getActivityListByName(params: any) {
  return request('/app-admin/teacher-admin/admin/v1/calculate/paper/getActivityListByName', {
    params,
  });
}

export async function getGroupListByAid(params?: any) {
  return request('/app-admin/teacher-admin/admin/v1/calculate/paper/send/getGroupListByAid', {
    params,
  });
}
